import Vue from 'vue'
import App from './App'
import router from "@/router";

import TabBar from "@/components/m/TabBar";

import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';

Vue.use(ElementUI);
Vue.component('tab-bar', TabBar)
Vue.config.productionTip = false


new Vue({
  render: h => h(App),
  router
}).$mount('#app')

/*

xx.com/
xx.com/about

xx.com/m/
xx.com/m/about

http://www.yizhanketang.com/
http://www.yizhanketang.com/course/fe
http://m.yizhanketang.com/m
http://m.yizhanketang.com/m/course/fe
* */


/*

虚拟DOM
数据驱动
双向数据绑定
单页面应用（vue、react、angular）

baidu.com/index
baidu.com/about
baidu.com/todo
baidu.com/todo/1
baidu.com/todo/3
baidu.com/show
baidu.com/dashed
baidu.com/type
baidu.com/cart
baidu.com/mine
* */
